<template>
  <div class="floor">
    <div class="little-area">
      <div class="title">
        <a class="title-pic">手机电脑</a>
        <a class="title-right">更多></a>
      </div>
      <ul class="floor-content">
        <li>
          <a href="#" target="_blank">
            <img
              alt=""
              class="lazy-loading"
              src="https://imgservice5.suning.cn/uimg1/b2c/image/OKpz72h3L6kRZR4b-qGQsw.png_200w_200h_4e"
            />
            <p class="title-name">iQOO Z6 8+128G 墨玉</p>
            <p class="price-box">
              <span class="price"><i>¥</i><em>1699.00</em></span>
              <span class="refprice"><i>¥</i><em>2299.00</em></span>
            </p>
          </a>
        </li>
        <li>
          <a href="#" target="_blank">
            <img
              alt=""
              class="lazy-loading"
              src="https://imgservice5.suning.cn/uimg1/b2c/image/OKpz72h3L6kRZR4b-qGQsw.png_200w_200h_4e"
            />
            <p class="title-name">iQOO Z6 8+128G 墨玉</p>
            <p class="price-box">
              <span class="price"><i>¥</i><em>1699.00</em></span>
              <span class="refprice"><i>¥</i><em>2299.00</em></span>
            </p>
          </a>
        </li>
        <li>
          <a href="#" target="_blank">
            <img
              alt=""
              class="lazy-loading"
              src="https://imgservice5.suning.cn/uimg1/b2c/image/OKpz72h3L6kRZR4b-qGQsw.png_200w_200h_4e"
            />
            <p class="title-name">iQOO Z6 8+128G 墨玉</p>
            <p class="price-box">
              <span class="price"><i>¥</i><em>1699.00</em></span>
              <span class="refprice"><i>¥</i><em>2299.00</em></span>
            </p>
          </a>
        </li>
      </ul>
    </div>
    <div class="little-area">
      <div class="title">
        <a class="title-pic">推荐榜单</a>
        <a class="title-right">更多></a>
      </div>
      <ul class="floor-content">
        <li>
          <a href="#" target="_blank">
            <img
              alt=""
              class="lazy-loading"
              src="https://imgservice5.suning.cn/uimg1/b2c/image/OKpz72h3L6kRZR4b-qGQsw.png_200w_200h_4e"
            />
            <p class="title-name">iQOO Z6 8+128G 墨玉</p>
            <p class="price-box">
              <span class="price"><i>¥</i><em>1699.00</em></span>
              <span class="refprice"><i>¥</i><em>2299.00</em></span>
            </p>
          </a>
        </li>
        <li>
          <a href="#" target="_blank">
            <img
              alt=""
              class="lazy-loading"
              src="https://imgservice5.suning.cn/uimg1/b2c/image/OKpz72h3L6kRZR4b-qGQsw.png_200w_200h_4e"
            />
            <p class="title-name">iQOO Z6 8+128G 墨玉</p>
            <p class="price-box">
              <span class="price"><i>¥</i><em>1699.00</em></span>
              <span class="refprice"><i>¥</i><em>2299.00</em></span>
            </p>
          </a>
        </li>
        <li>
          <a href="#" target="_blank">
            <img
              alt=""
              class="lazy-loading"
              src="https://imgservice5.suning.cn/uimg1/b2c/image/OKpz72h3L6kRZR4b-qGQsw.png_200w_200h_4e"
            />
            <p class="title-name">iQOO Z6 8+128G 墨玉</p>
            <p class="price-box">
              <span class="price"><i>¥</i><em>1699.00</em></span>
              <span class="refprice"><i>¥</i><em>2299.00</em></span>
            </p>
          </a>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
export default {
  name: "myFloor",
};
</script>

<style scoped>
.floor {
  margin: 10px auto;
  width: 1190px;
  overflow: hidden;
}
.little-area {
  float: left;
  width: 590px;
  height: 298px;
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.little-area .title {
  width: 100%;
  height: 60px;
  background: #fff;
  text-align: center;
  font-size: 24px;
}
.title .title-pic {
  float: left;
  height: 30px;
  width: 106px;
  margin: 15px 0 0 16px;
}
.title .title-right {
  float: right;
  font-size: 14px;
  margin-right: 12px;
  height: 20px;
  line-height: 20px;
  margin-top: 20px;
  font-weight: normal;
}
.floor-content {
  float: left;
  width: 590px;
  height: 238px;
}
.floor-content li {
  float: left;
  width: 170px;
  height: 238px;
  position: relative;
}
.floor-content li a {
  display: block;
  font-size: 14px;
  text-decoration: none;
}
.floor-content li a:hover .title-name {
  color: #ff8000;
}
.floor-content li a img {
  display: block;
  width: 150px;
  height: 150px;
  margin: 0 10px 10px 10px;
  border-radius: 6px;
}
.floor-content li a .title-name {
  width: 170px;
  height: 20px;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  overflow: hidden;
  text-align: left;
  word-break: break-all;
  font-weight: normal;
}
.floor-content li a .price-box {
  height: 21px;
  margin: 4px 4px 4px 0;
  overflow: hidden;
}
.price-box .price {
  float: left;
  line-height: 21px;
  color: #f30;
  font-size: 18px;
  font-weight: bold;
}
.price-box .refprice {
  float: left;
  line-height: 16px;
  color: #999;
  font-size: 12px;
  margin-left: 6px;
  margin-top: 3px;
  text-decoration: line-through;
}
</style>
